Search results
1641 packages found
resolve like require.resolve() on behalf of files asynchronously and synchronously
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Check if a path is inside another path
A tiny (952b), correct, general-purpose, and configurable "exports" and "imports" resolver without file-system reliance
Generates an asynchronous resolver function from a PAC file
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find a file or directory by walking up parent directories — Zero dependencies
Returns `true` if the path appears to be relative.
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Detects if a file exists and returns the resolved filepath.
Read the closest package.json file
Webpack loader that resolves relative paths in url() statements based on the original source file
Resolve a directory that is either local, global or in the user's home directory.
resolve like require.resolve() on behalf of files asynchronously and synchronously
Resolves the full path to the bin file of a given package by inspecting the "bin" field in its package.json.
Finds the first parent directory that contains a given file or directory.
Human friendly file system utilities for Node.js
- anolilab
- detect-newline
- dir
- directory
- eol
- empty-dir
- ensure
- ensure-file
- ensure-dir
- ensure-link
- ensure-symlink
- file
- files
- filesystem
- View more
Check if a module ID is resolvable with require()
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.